Printer and data processing method

ABSTRACT

A data processing device has a data storage unit storing data processing device-side master data, connects through a server communication path to a server, updates the data processing device-side master data stored in the data storage unit based on server-side master data stored by the server, connects to a tablet through a process communication path, responds based on the data processing device-side master data stored by the data storage unit to a master data transmission request sent by the tablet, and receives the process information sent by the tablet.

Priority is claimed under 35 U.S.C. § 119 to Japanese Application No. 2014-180378 filed on Sep. 4, 2014, and under 35 U.S.C. § 365 to PCT/JP2015/004468 filed on Sep. 2, 2015.

TECHNICAL FIELD

The present invention relates to a processing device for processing data, and to a data processing method.

BACKGROUND

Systems in which a terminal device connected to a server uses functions provided by the server to process data are known from the literature (see, for example, PTL 1). A problem with such systems is that the system stops working if the communication path connecting the server and the terminal device is interrupted. To handle this problem, the POS (point-of-sale) system described in PTL 1 has an auxiliary server device with a line confirmation device between the server and the client. The system in PTL 1 connects the auxiliary server device and the server through two Internet connections, and when communication through one Internet connection cannot be confirmed, the client and server communicate through the other Internet connection.

CITATION LIST Patent Literature

[PTL 1] JP-A-2013-137666

SUMMARY

A device for monitoring the communication status of each communication line is required when redundant communication lines are used to handle communication problems. For example, in the system in PTL 1, the auxiliary server connected to two or more Internet connections relays communication between the client and server, and monitors whether or not communication over the Internet connections can be confirmed. Because this complicates the system configuration, implementing such a solution is not easy.

With consideration for the foregoing, an objective of the present invention is to enable a terminal device to process data even when a communication problem occurs in a system in which the terminal device communicates with a server to process data.

Solution to Problem

To achieve the foregoing objective a data processing device according to the at least one embodiment of invention has a data storage unit (data storage) storing data processing device-side master data, and is characterized by connecting through a server communication path to a server, and executing an update process of the data processing device-side master data stored in the data storage unit based on server-side master data stored by the server; and connecting to a terminal device through a process communication path, responding based on the data processing device-side master data stored by the data storage unit to a master data transmission request sent by the terminal device, and receiving the process information sent by the terminal device.

Because at least one embodiment of the invention enables storing data that is synchronized with master data stored by a server, and substituting for the server to supply master data in response to a request from a terminal device when a communication fault occurs, the terminal device can continue processing data without interruption.

The data processing device of at least one embodiment of the invention also sends the process information that is received from the terminal device through the server communication path to the server when the server communication path meets a previously set server communication condition.

Thus comprised, the server can process process information the data processing device receives from the terminal device.

The data processing device of at least one embodiment of the invention also has a process information storage unit (process information storage); the data processing device receiving and storing in the process information storage unit the process information the terminal device sent, and updating the data processing device-side master data stored in the data storage unit based on the process information stored in the process information storage unit, when the server communication path does not meet a previously set server communication condition.

When the server communication path connecting the data processing device to the server does not meet the condition, at least one embodiment of the invention can store and process the process information the terminal device sends.

The data processing device of at least one embodiment of the invention also executes the process based on the data processing device-side master data of the data storage unit, and accumulates the process information related to the executed process in the process information storage unit, when the server communication path does not meet the server communication condition.

When the communication status of the server communication path does not meet the condition, at least one embodiment of the invention can store process information the terminal device stores.

The data processing device of at least one embodiment of the invention also sends the process information accumulated in the process information storage unit to the server when the server communication path changes from a state not satisfying the server communication condition to a state satisfying the server communication condition.

When the communication status of the server communication path recovers to a state meeting the condition, at least one embodiment of the invention can send the information the terminal device sent to the server.

The data processing device of at least one embodiment of the invention also connects to the server through the server communication path when the server communication path meets the server communication condition, executes a process based on server-side master data stored by the server, and sends process information related to the executed process to the server.

At least one embodiment of the invention can execute a process based on data the server stores, and the server can process information related to the executed process.

To achieve the foregoing objective, a data processing method according to at least one embodiment of the invention is characterized by: a data processing device having a data storage unit that stores data processing device-side master data connecting to a server through a server communication path; executing an update process of the data processing device-side master data stored in the data storage unit based on server-side master data stored by the server; connecting through a process communication path to a terminal device; responding based on the data processing device-side master data stored by the data storage unit to a master data transmission request the terminal device sends; receiving process information the terminal device sends; and updating the data processing device-side master data stored by the data storage unit based on the received process information; and when the terminal communication path does not meet a previously set terminal communication condition, the terminal device connecting to the data processing device through the process communication path, sending a master data transmission request, receiving the data processing device-side master data from the data processing device and executing a process, and sending process information related to the executed process to the data processing device.

Because a data processing device stores data synchronized with master data stored by a server, and can substitute for the server to provide master data in response to a request from a terminal device when a communication fault occurs, the terminal device can continue processing data without interruption.

Also in the data processing method according to at least one embodiment of the invention, the terminal device connects to the server through the terminal communication path when the terminal communication path meets the terminal communication condition, executes a process based on the server-side master data, and sends process information related to the executed process to the server.

Thus comprised, the server can process information related to a process the terminal device executed based on server data.

The data processing method according to at least one embodiment of the invention also executes the process by the data processing device and the terminal device executing software through a web browser.

Thus comprised, at least one embodiment of the invention can run software provided through a communication channel to execute processes through a web browser.

Because data synchronized with master data stored by a server is stored, and master data can be provided in place of the server in response to a request from a terminal device when a communication problem occurs, the terminal device can continue data processing without interruption.

BRIEF DESCRIPTION OF DRAWINGS

FIG. 1 is a block diagram illustrating the configuration of a data processing system according to an embodiment of the invention.

FIG. 2 is a block diagram illustrating the configuration of the data processing system.

FIG. 3 is a flow chart illustrating the operation of the data processing system.

FIGS. 4A, 4B and 4 c describe the operation of the data processing system when sending and receiving data.

FIG. 5 is a flow chart of the tablet-side switching process executed by the tablet.

FIG. 6 is a flowchart of the data processing device-side switching process executed by the data processing device.

DESCRIPTION OF EMBODIMENTS

Embodiments of the invention are described below with reference to the accompanying figures.

FIG. 1 is a block diagram illustrating the configuration of a data processing system 1 according to this embodiment of the invention, and in particular illustrates the configuration of the server 50.

The data processing system 1 in this embodiment of the invention functions as a POS (point-of-sales) system for executing a transaction process related to a product transaction in a store L where product transactions are made. A store L in which the data processing system 1 is deployed is a business that provides products (including services) and receives payment therefor, and the data processing system 1 executes a transaction process for calculating the payment amount and receiving payment, and stores information related to the transaction process that was executed.

The data processing system 1 comprises a POS device 10 and a POS device 30, and the POS devices 10, 30 connect to a server 50 through a communication network N.

The data processing system 1 is a WebPOS system in which a data processing device 11 and tablet 31 embody the function of a POS device by running by means of respective webs browser a POS application 62 (web application) that is provided by the server 50.

The POS device 10 includes a data processing device 11, and a monitor 26, barcode scanner 27, customer display 28, and cash drawer 29 that are connected to the data processing device 11. The data processing device 11 connects to the server 50 through a communication network N, and exchanges data with the server 50.

The POS device 30 includes a tablet 31 (terminal device), recording device 41, barcode scanner 47, customer display 48, and cash drawer 49. The tablet 31 is a so-called tablet computer having a flat body. The tablet 31 connects through the communication network N to the server 50, and exchanges data with the server 50.

The configuration of the POS device 10 and POS device 30 are described further below.

The communication network N may be embodied by various communication lines or combinations thereof, including a public telecommunication line, a dedicated line, or a wireless communication line including a cellular telephone line, and the backbone communication lines of these communication lines, and is not limited to a specific configuration. The communication network N could be a wide-area communication line network connecting remote locations, but the scale and range of the communication network N is not specifically limited. The communication network N may also include server devices, gateway devices, routers, and other network devices for connecting different types of communication lines. The communication network N may also comprise multiple communication lines.

The communication path through which POS device 30 communicates with the server 50 is terminal communication path N1, and the communication path through which POS device 10 communicates with the server 50 is server communication path N2. Terminal communication path N1 and server communication path N2 refer to virtual or logical communication paths (paths, channels) over the communication lines. Terminal communication path N1 and server communication path N2 may be formed on the same physical communication paths or on physically separate communication paths.

This embodiment of the invention uses the example of a configuration having a communication device 5 described below in a store L with the communication device 5 connected to the communication network N. In this configuration, the data processing device 11 of POS device 10 and the tablet 31 of POS device 30 connect through the communication device 5 to the communication network N. The terminal communication path N1 and server communication path N2 are therefore on a common communication line between at least the communication device 5 and the communication network N, but are logically independent communication paths. For example, a configuration whereby the data processing device 11 and tablet 31 connect to the communication network N through separate communication devices is obviously possible.

The data processing system 1 has a function for determining if communication over the communication lines is possible. More specifically, the POS device 30 determines whether or not communication over the terminal communication path N1 is possible, and the POS device 10 determines whether or not communication over the server communication path N2 is possible.

More specifically, the tablet 31 has a terminal communication condition, which is a condition for determining if communication over the terminal communication path N1 is possible. The terminal communication condition may be applied to the tablet 31 by an appropriate method, such as being previously set on the tablet 31, generated by the tablet 31, or acquired by the tablet 31 from another device. The data processing device 11 has a server communication condition, which is a condition for determining if communication over the server communication path N2 is possible. The server communication condition may be applied to the data processing device 11 by a desirable method, such as being previously set on the data processing device 11, generated by the data processing device 11, or acquired by the data processing device 11 from another device. The terminal communication condition includes data that is the standard or reference for determining if the communication state of the terminal communication path N1 is a state enabling communication. The server communication condition includes data that is the standard or reference for determining if the communication state of the server communication path N2 is a state enabling communication. Specific examples of this data in the terminal communication condition include the packet loss, propagation delay, signal-to-noise ratio, and error correction conditions. The terminal communication condition and/or server communication condition may be sent by the server 50 to the tablet 31 and/or data processing device 11.

The server 50 includes a server controller 51 and a server communication unit 55 (server communicator). The server controller 51 includes an application execution unit 52 (application executor) and a database controller 53. A data storage unit 61, and a database 65, are also connected to the server 50.

The server communication unit 55 connects to the communication network N, and sends and receives data with POS device 10 and with POS device 30 as controlled by the server controller 51.

The server controller 51 comprises CPU, ROM, RAM, and other peripheral circuits, and controls parts of the server 50 by the CPU executing a program. The application execution unit 52 and database controller 53 are software functions instantiated by the CPU of the server controller 51 running a program.

The data storage unit 61 stores a POS application 62 executed by the application execution unit 52, and an HTML (HyperText Markup Language) file 63 sent to the POS devices 10, 30.

The database 65 stores server-side sales data 66 and server-side master data 67. The database 65 stores the results of transaction processes for product transactions executed by the POS devices 10, 30 on the server-side sales data 66. In other words, the server-side sales data 66 contains data about the results of transaction processes processed by the data processing system 1. The data contained in the server-side sales data 66 includes, for example, the date and time of the transaction process, the name of the store L, identification information (ID) for the POS devices 10, 30 that executed the transaction process, and the name, quantity, and price of each product in the transaction process, the total amount of the transaction process, and the method of payment. When payment is by cash, the amount received from the customer and the amount of change may also be included. The server-side sales data 66 may also include information about the customer, which is the other party to the transaction.

The server-side master data 67 accumulates data used in the transaction process. For example, it may include a PLU (Price Look Up) database containing the prices of products corresponding to the product identification information. The product identification information is so-called PLU data, that is, data represented by the product barcode that is read by the barcode scanner 27, 47. The server-side master data 67 may also include data related to the sales conditions for a product.

The server controller 51 calls the application execution unit 52 triggered by an access request sent by the data processing device 11, or the server communication unit 55 receiving an access request sent by the tablet 31. The application execution unit 52 runs the POS application 62, and sends the HTML file 63 stored by the data storage unit 61 to the data processing device 11 or tablet 31.

The HTML file 63 is a file the server controller 51 sends to the data processing device 11 and tablet 31, and includes image data and text data for display by the data processing device 11 and tablet 31, and data defining the display format. The HTML file 63 includes a script for calling functions of the server 50. This script may be written in Java®, for example.

The data processing device 11 and tablet 31 process the HTML file 63 by a plug-in as described further below, and send data to the server 50 and process data transmitted by the server 50 through script functions.

Web browsers on the data processing device 11 and tablet 31 execute scripts to send PLU data to the server 50 and request data from the server-side master data 67. These requests are equivalent to master data transmission requests. When the application execution unit 52 receives PLU data from the data processing device 11 or tablet 31, it extracts and sends the price data corresponding to the PLU data from the server-side master data 67 to the data processing device 11 or tablet 31. This price data includes the unit price, product name, and product category, or other information.

The data processing device 11 or tablet 31 transmits the result of the transaction process executed by functions of the POS application 62, and when the server communication unit 55 receives this process result, the application execution unit 52 updates the server-side sales data 66 based on the received process result.

FIG. 2 is a block diagram illustrating the configuration of a data processing system 1, and particularly the configuration of the POS device 10 and POS device 30, according to this embodiment.

As shown in FIG. 2, the communication device 5 is disposed in a store L where the POS devices 10, 30 are deployed. The communication device 5 is a device for connecting a wide area network and the local network inside the 1, and may be a switch, router, or gateway server, for example. The wide area network side of the communication device 5 is connected to the communication network N through a wired communication line or a cell phone or other type of wireless communication line. The interface on the LAN side of the communication device 5 may include a wired LAN interface such as an Ethernet® interface, a wireless LAN interface such as IEEE 802.1, or Bluetooth® interface. In this embodiment of the invention, the data processing device 11 connects to a wired LAN interface of the communication device 5, and the tablet 31 connects to a wireless LAN interface. The communication device 5 relays communication between the data processing device 11 and server 50, and between the tablet 31 and server 50.

The communication device 5 has a function for relaying communications between devices connected on the LAN side, and more specifically enables data communication between the data processing device 11 and tablet 31 through the communication device 5. The communication path for communication between the data processing device 11 and tablet 31 is referred to below as process communication path N3. The process communication path N3 is a virtual or logical communication path (path, channel) disposed to the LAN inside the store. The process communication path N3 may be configured in all or part using the same physical communication line as part of the terminal communication path N1 and server communication path N2, or configured on physically different communication lines.

The tablet 31 includes a tablet controller 32 that controls parts of the tablet 31 and the recording device 41, a tablet communication unit 34 (tablet communicator), a touch panel 35, and a tablet memory unit 36 (tablet memory).

The recording device 41 is a printer that prints a receipt with the print unit 45 (print mechanism) as controlled by the tablet 31. The recording device 41 includes a recording device controller 42, recording device communication unit 43 (recording device communicator), device connection unit 44 (device connector), and print unit 45. The barcode scanner 47 connects to the device connection unit 44, and the customer display 48 and cash drawer 49 connect to the print unit 45.

The tablet 31 comprises a display panel disposed on the front of a flat body, and a touch panel 35 including a touch sensor disposed over the display panel. The display panel is an LCD panel or OLED panel.

The touch sensor of the touch panel 35 is a capacitive or pressure sensitive sensor, detects touch operations with the user's finger or pen-like operating device (not shown in the figure), and outputs operating data denoting the detected position to the tablet controller 32.

A web browser program is installed on the tablet 31, and the tablet controller 32 reads and runs the web browser program stored in the tablet memory unit 36. The browser execution unit 33 (browser executor) sends a request to a previously set server address (URL), and requests the server 50 to send an HTML file. Operation of the browser execution unit 33 is described further below.

The tablet memory unit 36 nonvolatilely stores programs executed by the tablet controller 32, and data processed by the tablet controller 32. The tablet memory unit 36 stores, for example, configuration data related to operation of the browser execution unit 33, and configuration data used by the tablet controller 32 to control parts of the recording device 41.

The tablet communication unit 34 connects to the communication device 5 and handles data communication through the communication device 5 as controlled by the tablet controller 32. The tablet communication unit 34 in this embodiment of the invention has a wireless LAN interface, and handles wireless data communication with the communication device 5.

The tablet communication unit 34 handles data communication with the recording device communication unit 43. The recording device communication unit 43 has a wireless LAN interface or a near-field communication interface such as Bluetooth® or Wireless USB. The tablet communication unit 34 also has a wireless communication interface for communicating with the recording device communication unit 43. The tablet communication unit 34 may communicate, for example, directly with the recording device communication unit 43, or through a network connection relayed through the communication device 5, in a wireless ad hoc mode. The communication path connecting the tablet communication unit 34 and recording device communication unit 43 is referred to below as the wireless communication link N4. The recording device controller 42 of the recording device 41 connects through the wireless communication link N4 to the tablet controller 32, and the tablet controller 32 controls parts of the recording device 41.

The recording device controller 42 controls the recording device communication unit 43 for data communication with the tablet 31. A device connection unit 44 and print unit 45 also connect to the recording device controller 42.

The device connection unit 44 has different types of connectors, such as USB connectors and monitor connectors, and interface circuits compatible with the connectors, and can connect to different types of devices. The barcode scanner 47 reads barcodes from product packaging or barcode sheets, and outputs the read result to the device connection unit 44. The barcode scanner 47 may be desirably configured to optically read codes and output the read result, and is not limited to a specific type of code. For example, the barcode scanner 47 may also read QR Codes® and other types of 2D symbol codes.

The device connection unit 44 generates PLU data based on the read result output by the barcode scanner 47 and outputs to the recording device controller 42.

The print unit 45 includes mechanisms for recording on roll paper, including a conveyance mechanism for conveying roll paper stored inside the recording device 41, a recording mechanism for recording images on the roll paper with a thermal head, and a cutter mechanism for cutting the roll paper at a specific position. The print unit 45 conveys the roll paper by the conveyance mechanism, records receipt images on the roll paper with the recording mechanism, and cuts the roll paper with the cutter mechanism to produce a receipt as controlled by the recording device controller 42.

The print unit 45 has multiple serial interfaces for serially connecting to external devices, and a customer display 48 and cash drawer 49 are connected to these serial interfaces. The print unit 45 passes control signals output from the recording device controller 42 to the serial interfaces. The customer display 48 and cash drawer 49 are therefore daisy chained to the recording device controller 42 through the print unit 45.

The customer display 48 displays text, symbols, and images, for example, based on control signals input from the print unit 45. The cash drawer 49 has a tray for holding money, and a mechanism for locking the tray, and unlocks and opens the tray according to a drawer kick signal input from the print unit 45. When the print unit 45 passes control signals output by the recording device controller 42, the customer display 48 and cash drawer 49 operate according to the received control signals.

When the server controller 51 reads a barcode and the device connection unit 44 outputs PLU data, the recording device controller 42 sends the PLU data to the tablet controller 32. When the tablet controller 32 outputs numbers or other display data for displaying on the customer display 48, the recording device controller 42 generates and passes display signals based on the display data through the print unit 45 to the customer display 48. When the tablet controller 32 outputs a command to open the cash drawer 49, the recording device controller 42 generates and outputs a drive signal for the cash drawer 49 to the print unit 45. When the tablet controller 32 outputs a command to produce a receipt, and text data and image data for recording on a receipt, the recording device controller 42 controls driving the print unit 45 to produce a receipt.

FIG. 3 is a flow chart of the operation of the data processing system 1. Column (A) of FIG. 3 shows the operation of the POS devices 10, 30 operating as POS terminals, and column (B) of FIG. 3 shows the operation of the server 50.

As described above, the browser execution unit 33 of the POS device 30 requests the server 50 to return the HTML file 63 based on the previously set access data (step S11). The application execution unit 52 of the server 50 receives the request for transmission of the HTML file 63 (step S21), and sends the HTML file 63 (step S22).

The browser execution unit 33 downloads and runs the HTML file 63 sent by the server 50 (step S12), and executes a web application with POS functionality.

The operator of the POS device 30 then uses the barcode scanner 47 to read the barcode of the product to be purchased (step S13). The device connection unit 44 gets the read result output by the barcode scanner 47 (step S14), and generates and outputs PLU data to the browser execution unit 33. The browser execution unit 33 then sends the PLU data to the server 50 and requests master data transmission (step S15).

The application execution unit 52 receives the PLU data the POS device 30 sent (step S23), and based on the received PLU data references the server-side master data 67 (step S24). The application execution unit 52 gets the price data for the received PLU data from the server-side master data 67 and sends the price data to the POS device 30 (step S25).

The browser execution unit 33 receives the price data the server 50 sent (step S16), and executes a transaction process based on the received price data (step S17). More specifically, it displays the product name, price, and product category, for example, corresponding to the PLU data read by the barcode scanner 47 on the touch panel 35. Product quantity and the payment amount received are input by operating the touch panel 35, and the browser execution unit 33 acquires the input data, calculates the purchase total by a function of a web application, and displays the total amount and the amount received on the touch panel 35. The browser execution unit 33 also sends a command to open the cash drawer 49 as required.

When multiple products are processed in a single transaction process, the data processing system 1 repeatedly executes steps S13 to S17 in column (A) of FIG. 3, and steps S22 to S25 in column (B) of FIG. 3.

The browser execution unit 33 outputs a command to produce a receipt, text data, and image data to the recording device 41, and produces a receipt (step S18). When producing the receipt is completed, and the touch panel 35 is operated to complete the transaction or the cash drawer 49 is closed after the receipt is produced, the browser execution unit 33 determines that one transaction process was completed. When a transaction process is completed, the browser execution unit 33 sends the process result (process information) indicating the result of the transaction process to the server 50 (step S19). The browser execution unit 33 may send the process results for multiple transaction processes to the server 50 in a single batch transmission.

The application execution unit 52 then receives the process result sent by the POS device 30 (step S26), stores the process result in the server-side sales data 66 of the database 65, and updates the server-side sales data 66 (step S27).

The POS device 30 thus executes a transaction process at the POS according to operator commands, and the result of the transaction process is reflected in the server-side sales data 66.

The data processing device 11 is a printer for printing receipts with the print unit 19, and has functions for processing data based on data stored in an auxiliary storage unit 20 (software memory) and a data storage unit 23 (process information storage unit).

The data processing device 11 has a processing device controller 12 that controls printing by the print unit 19 and data processing. The processing device controller 12 connects to a processing device communication unit 17 (processing device communicator), device connection unit 18, print unit 19, the auxiliary storage unit 20, and the data storage unit 23. Of the devices of the POS device 10, the monitor 26 and barcode scanner 27 are connected to the device connection unit 18, and the customer display 28 and cash drawer 29 are connected to the print unit 19.

The processing device communication unit 17 connects to the communication device 5 through a wired LAN interface, for example. The processing device communication unit 17 exchanges data with the server 50 as controlled by the processing device controller 12. The processing device communication unit 17 also communicates with the tablet 31 through the communication device 5. Note that the processing device communication unit 17 has a wireless LAN interface, and may be configured to connect wirelessly to the communication device 5, or the processing device communication unit 17 may be configured to connect wirelessly directly to the tablet communication unit 34 of the tablet 31.

The device connection unit 18 has different types of connectors, such as USB connectors and monitor connectors, and interface circuits compatible with the connectors, and can connect to different types of devices.

The monitor 26 has an LCD panel or OLED panel display screen, and displays images based on display signals input from the device connection unit 18. The device connection unit 18 outputs display signals to the monitor 26 as controlled by the processing device controller 12.

The barcode scanner 27 reads barcodes from product packaging or barcode sheets, and outputs the read result to the device connection unit 18. To register a product for sale, the operator of the POS device 10 reads the barcode of the product with the barcode scanner 27. The barcode scanner 27 may be configured identically to the barcode scanner 47. The device connection unit 18 acquires the PLU data output by the barcode scanner 27, and outputs to the processing device controller 12.

The print unit 19 has mechanisms for recording on roll paper, including a conveyance mechanism for conveying roll paper stored inside the data processing device 11, a recording mechanism for recording images on the roll paper with a thermal head, and a cutter mechanism for cutting the roll paper at a specific position. The print unit 19 conveys the roll paper by the conveyance mechanism, records receipt images on the roll paper with the recording mechanism, and cuts the roll paper with the cutter mechanism to produce a receipt as controlled by the processing device controller 12.

The print unit 19 has multiple serial interfaces for serially connecting to external devices, and a customer display 28 and cash drawer 29 are connected to these serial interfaces. The print unit 19 passes control signals output from the processing device controller 12 to the serial interfaces. The customer display 28 and cash drawer 29 are therefore connected in a daisy chain to the processing device controller 12 through the print unit 19.

The customer display 28 displays text, symbols, and images, for example, based on control signals input from the print unit 19. The cash drawer 29 is configured identically to cash drawer 49, and unlocks and opens the tray according to a drawer kick signal input from the print unit 19. When the print unit 19 passes control signals output by the processing device controller 12, the customer display 28 and cash drawer 29 operate according to the received control signals.

The processing device controller 12 comprises a CPU, ROM, RAM, and other peripheral circuits, and the CPU runs a program to control parts of the data processing device 11. The browser execution unit 12 a, device controller 12 b, printer controller 12 c, application execution unit 12 d, and data controller 12 e are functions of software instantiated by the CPU of the processing device controller 12 running a program.

The browser execution unit 12 a runs a browser program stored by the auxiliary storage unit 20, data storage unit 23, or other storage unit (other storage) not shown. The browser execution unit 12 a reads and runs an HTML file through a web browser, and generates and outputs to the device controller 12 b display data for displaying on screen. When the executed HTML file contains a script, the browser execution unit 12 a also runs the script. When running a script to print a receipt, the browser execution unit 12 a also outputs the text data and image data to print to the printer controller 12 c.

The device controller 12 b detects connection of a monitor 26 and barcode scanner 27 that connect to the device connection unit 18, and connection of the customer display 28 and cash drawer 29 that connect to the print unit 19. The device controller 12 b converts display data output by the browser execution unit 12 a to display signals compatible with the monitor 26 and outputs to the device connection unit 18, or outputs data to the device connection unit 18 for conversion to display signals. When the device connection unit 18 outputs PLU data, the device controller 12 b acquires and outputs the PLU data to the browser execution unit 12 a.

Based on the text data and image data output by the browser execution unit 12 a, the printer controller 12 c controls the print unit 19 to print a receipt.

The browser execution unit 12 a runs a web application based on the HTML file 63, and executes a transaction process at the POS in the same way as the browser execution unit 33 of the POS device 30.

The processing device controller 12 executes the operation of the browser execution unit 33 shown in column (A) of FIG. 3. The browser execution unit 12 a requests the server 50 to send the HTML file 63 based on the previously set access data (step S11), downloads and runs the HTML file 63 sent by the server 50 (step S12), and executes a web application.

The operator of the POS device 10 uses the barcode scanner 27 to read the barcode of the product to be purchased (step S13), the device connection unit 18 gets the read result (step S14), and generates and outputs PLU data to the browser execution unit 12 a. The browser execution unit 12 a then sends the PLU data to the server 50 (step S15).

When the server 50 sends the price data corresponding to the PLU data the browser execution unit 12 a sent, the browser execution unit 12 a receives the price data (step S16), and executes a transaction process based on the received price data (step S17).

In this step the browser execution unit 12 a displays the product name, price, and product category, for example, corresponding to the PLU data read by the barcode scanner 27 on the monitor 26. When product quantity and payment amount information are input by reading a barcode with the barcode scanner 27 or operation of an input device not shown, the browser execution unit 12 a acquires the input data. The browser execution unit 12 a calculates the transaction total by a function of a web application based on the input data, and displays the total amount and the payment received on the monitor 26. The browser execution unit 12 a also sends a command to open the cash drawer 29 as required.

The browser execution unit 12 a outputs a command to produce a receipt, text data, and image data to the print unit 19, and produces a receipt (step S18). When the browser execution unit 12 a determines that one transaction process was completed, it sends the process result (process information) indicating the result of the transaction process to the server 50 (step S19). The browser execution unit 12 a may send the process results for multiple transaction processes to the server 50 in a single batch.

While the browser execution unit 12 a executes the operations of steps S11 to S19, the application execution unit 52 executes the operation shown in column (B) of FIG. 3 in the same way as when the POS device 30 runs the web application.

The POS device 10 thus executes a transaction process at the POS according to operator commands and the result of the transaction process of the POS device 10 is reflected in the server-side sales data 66 in the same way as with the POS device 30.

FIG. 4 illustrates the data communication operation of the data processing system 1, FIG. 4A showing normal operation, FIG. 4B showing the communication line fault isolation operation, and FIG. 4C showing the recovery operation from a communication line fault.

FIG. 4 A illustrates operation when the POS device 10 and server 50, and the POS device 30 and server 50, are communicating and executing POS functions. The tablet 31 communicates through the terminal communication path N1 with the server 50. The tablet 31 makes a query based on the PLU data over the terminal communication path N1, the server 50 sends the result of the query (price data), and the tablet 31 sends the process result. In addition, the data processing device 11 communicates with the server 50 over the server communication path N2 and makes a query based on the PLU data, the server 50 sends the result of the query (price data), and the data processing device 11 sends the process result. Based on the process results sent by the data processing device 11 and tablet 31, the server 50 updates the server-side sales data 66 of the database 65.

The browser execution unit 33 evaluates the communication status of the terminal communication path N1. The tablet 31 stores the terminal communication condition, which is the condition for evaluating the communication status of the terminal communication path N1, in the tablet memory unit 36. The browser execution unit 33 detects the communication status of the terminal communication path N1, and evaluates the communication status based on whether or not the detected communication status satisfies the terminal communication condition. If the communication status of the terminal communication path N1 satisfies the terminal communication condition, the browser execution unit 33 determines communication is possible over the terminal communication path N1. If the communication status of the terminal communication path N1 does not satisfy the terminal communication condition, the browser execution unit 33 determines communication is not possible over the terminal communication path N1.

The browser execution unit 12 a evaluates the communication status of the server communication path N2. The data processing device 11 stores the server communication condition, which is the condition for evaluating the communication status of the server communication path N2, in the auxiliary storage unit 20 or data storage unit 23. The browser execution unit 12 a detects the communication status of the server communication path N2, and evaluates the communication status based on whether or not the detected communication status satisfies the server communication condition. If the communication status of the server communication path N2 satisfies the server communication condition, the browser execution unit 33 determines communication is possible over the server communication path N2. If the communication status of the server communication path N2 does not satisfy the server communication condition, the browser execution unit 33 determines communication is not possible over the server communication path N2.

As shown in FIG. 4B, when it is determined that communication on the terminal communication path N1 is disabled, the tablet 31 switches its connection from the server 50 to the data processing device 11. Information (such as the network address) specifying the new connection address when the connection is changed is contained in the HTML file 63 the server 50 sends to the tablet 31. The HTML file 63 may also contain the terminal communication condition. After the browser execution unit 33 evaluates the communication status of the terminal communication path N1, the browser execution unit 33 changes the connection based on the setting contained in the HTML file 63.

The tablet 31 communicates with the data processing device 11 through the process communication path N3. The tablet 31 outputs a query based on the PLU data over the process communication path N3, and the data processing device 11 returns the query result (price data) in the same way as the server 50. When the tablet 31 sends the process result, the data processing device 11 updates the database based on the process result the tablet 31 sent.

To perform this operation, the data processing device 11 has the application execution unit 12 d, data controller 12 e, auxiliary storage unit 20, and data storage unit 23.

The application execution unit 12 d provides the same function as the application execution unit 52 (FIG. 1) based on data stored in the auxiliary storage unit 20 and data storage unit 23.

The auxiliary storage unit 20 stores the POS application 21 and HTML file 22. The POS application 21 is an application that can be used as a substitute for the POS application 62 stored by the data storage unit 61. The HTML file 22 is a file that can be used as a substitute for the HTML file 63 stored by the data storage unit 61. The application execution unit 12 d drives a web application by executing the POS application 21.

The data storage unit 23 stores processor-side sales data 24 and data processing device-side master data 25. The processor-side sales data 24 contains data of the same content as the server-side sales data 66, and the data processing device-side master data 25 contains data of the same content as the server-side master data 67.

When the POS device 30 requests an HTML file, the application execution unit 12 d reads and sends the HTML file 22 from the auxiliary storage unit 20 to the POS device 30. This operation corresponds to steps S21 to S22 in column (B) of FIG. 3.

The application execution unit 12 d also receives the PLU data the tablet 31 sends (step S23), and references the data processing device-side master data 25 based on the received PLU data (step S24). The application execution unit 12 d extracts the price data corresponding to the received PLU data from the data processing device-side master data 25, and sends the price data to the POS device 30 (step S25).

The application execution unit 12 d receives the process result sent by the POS device 30 (step S26), registers the received process result in the processor-side sales data 24, and updates the processor-side sales data 24 (step S27).

The POS application 21 and HTML file 22 may be identical to the POS application 62 and HTML file 63, or may differ in part. The application execution unit 12 d must simply execute a web application similarly to the application execution unit 52, and the configuration data related to executing scripts contained in HTML file 22 may differ from HTML file 63, for example.

The data processing device-side master data 25 and server-side master data 67 may be the same data or may differ in part. The price data acquired by the application execution unit 52 referencing the server-side master data 67 based on the PLU data, and the price data acquired by the browser execution unit 12 a referencing the data processing device-side master data 25, must simply match. The processor-side sales data 24 and the server-side sales data 66 also must contain the same data based on the same process result, but the data structures may differ, for example.

In the simplest example, the POS application 21 and the POS application 62 are identical, and the HTML file 22 and the HTML file 63 are identical. In addition, the processor-side sales data 24 and the server-side sales data 66 are identical, and the data processing device-side master data 25 and the server-side master data 67 are identical.

As shown in FIG. 4B, when the browser execution unit 12 a determines communication is not possible over the server communication path N2, the browser execution unit 12 a accesses the application execution unit 12 d and runs the web application. Information specifying the application execution unit 12 d as the access address when communication over the server communication path N2 is disabled may be included in the HTML file 22, or stored in the auxiliary storage unit 20 or data storage unit 23. The HTML file 22 may also contain the server communication condition.

The application execution unit 12 d passes the HTML file 22 to the browser execution unit 12 a in response to the request from the browser execution unit 12 a, acquires the PLU data the browser execution unit 12 a output, and outputs price data. In this case, the browser execution unit 12 a executes the operation in column (A) of FIG. 3, and the application execution unit 12 d executes the operation in column (B) of FIG. 3.

The browser execution unit 12 a and application execution unit 12 d pass data therebetween in the data processing device 11 in this case. Function at the POS can therefore be maintained even if the server communication path N2 cannot be used for communication.

If communication over the terminal communication path N1 is determined not possible while the browser execution unit 33 is executing the transaction process or after downloading the HTML file 63 from the server 50, downloading the HTML file 22 can be omitted. In this case, the browser execution unit 33 operates using the HTML file 63 that was already downloaded. The browser execution unit 12 a does the same if communication over the server communication path N2 is determined not possible while executing the transaction process or after downloading the HTML file 63.

FIG. 4B illustrates operation when communication is not possible over both the terminal communication path N1 and server communication path N2, but also applies to when communication is not possible over only one of terminal communication path N1 and server communication path N2. When the tablet 31 determines communication over terminal communication path N1 is not possible, the tablet 31 accesses the processing device controller 12 and starts data communication through the process communication path N3 regardless of the communication status of the server communication path N2. When the browser execution unit 12 a determines communication over the server communication path N2 is not possible, the browser execution unit 12 a accesses the application execution unit 12 d and starts the process described above regardless of the status of the terminal communication path N1.

When the data processing system 1 executes the fault isolation operation of FIG. 4B, the process result from at least one of the data processing device 11 and tablet 31 is registered in the processor-side sales data 24. As a result, process results during the fault isolation operation in FIG. 4B are not registered (reflected) in the server-side sales data 66 of the database 65. In other words, a mismatch between the processor-side sales data 24 and the server-side sales data 66 results.

The data processing system 1 therefore executes the recovery operation in FIG. 4C when the terminal communication path N1 or the server communication path N2 that was determined to be unable to carry communications changes to a communication-enabled state (recovers). In this recovery operation, the data processing device 11 and server 50 communicate to synchronize the processor-side sales data 24 and server-side sales data 66. As a result, the process results of the data processing device 11 and tablet 31 during the fault isolation operation are registered in the server-side sales data 66.

FIG. 5 is a flow chart of the tablet-side switching process executed by the tablet 31.

The browser execution unit 33 detects the communication status of the terminal communication path N1 (step S41), and determines if the terminal communication condition is met (step S42). The timing of step S41 is not specifically limited, and may be while communicating with the server 50 over the terminal communication path N1, or while running the transaction process. Step S41 may also be executed at a set time interval when not communicating with the server 50.

If the communication status of the terminal communication path N1 meets the terminal communication condition (step S42; Yes), the browser execution unit 33 repeats step S41. If the communication status of the terminal communication path N1 does not meet the terminal communication condition (step S42; No), the browser execution unit 33 references the settings in the HTML file 63 and acquires information related to the address to which to change the connection (step S43). Based on the acquired information, the browser execution unit 33 changes the connection to the data processing device 11 (step S44), and reports the change to the data processing device 11 (step S45). The report of step S45 is, for example, a request to access the application execution unit 12 d of the data processing device 11. By changing the connection in step S44, the browser execution unit 33 can execute the operation of FIG. 4B.

The browser execution unit 33 then detects the communication status of the terminal communication path N1 during the fault isolation operation (step S46), and determines whether or not the terminal communication condition is met (step S47). If the communication status of the terminal communication path N1 does not meet the terminal communication condition (step S47; No), the browser execution unit 33 repeats step S46.

If the communication status of the terminal communication path N1 meets the terminal communication condition (step S47; Yes), that is, if the communication status of the terminal communication path N1 changed (recovered) to a state enabling communication, the browser execution unit 33 executes an operation to change the connection again. The browser execution unit 33 first determines if a transaction is being processed with the data processing device 11 (step S48). This transaction is a unit of a process involving sending and receiving data that should not be interrupted, and in this example refers to a process related to registering a process result in the server-side sales data 66 or processor-side sales data 24. More specifically, one transaction process is one transaction.

If a transaction is executing (step S48; Yes), the browser execution unit 33 waits until the transaction in progress ends (step S49). More specifically, it waits until sending the process result. Next, the browser execution unit 33 changes the connection from the data processing device 11 to the server 50 (step S50), and then reports to the data processing device 11 that the connection changed to the server (step S51). If a transaction is not in progress (step S48; No), the browser execution unit 33 goes to step S50.

FIG. 6 is a flowchart of the data processing device-side switching process executed by the data processing device 11. In the process of FIG. 6, the data processing device 11 executes both a process of changing the connection appropriately to the communication status of the server communication path N2, and a process appropriate to the report from the tablet 31.

The browser execution unit 12 a of the data processing device 11 detects the communication status of the server communication path N2 (step S61), and determines if the server communication condition is met (step S62). The timing of step S61 is not specifically limited, and may be while communicating with the server 50 over the server communication path N2, or while running the transaction process. Step S61 may also be executed at a set time interval when not communicating with the server 50.

If the communication status of the server communication path N2 meets the server communication condition (step S62; Yes), the browser execution unit 12 a determines if a report of changing the connection was received from the tablet 31 (step S63). If a report was not received (step S63; No), the browser execution unit 12 a repeats step S61.

If the communication status of the server communication path N2 does not meet the server communication condition (step S62; No), and if a report of a changed connection was received from the tablet 31 (step S63; Yes), the browser execution unit 12 a changes the connection. In other words, the browser execution unit 12 a changes the address to which the process result is output to the processor-side sales data 24 controlled by the application execution unit 12 d (step S64), and reports the change to the tablet 31 (step S65). In steps S62 to S64, the connection changes to the application execution unit 12 d when communication over the terminal communication path N1 is not possible even if communication over the server communication path N2 is possible. This is to prevent the processor-side sales data 24 and server-side sales data 66 from being updated to different content. Step S63 and step S68 described below may be omitted if a process for reconciling differences between the processor-side sales data 24 and server-side sales data 66 is possible.

The browser execution unit 12 a detects the communication status of the server communication path N2 during the fault isolation process (step S66), and determines if the server communication condition is met (step S67). If the communication status of the server communication path N2 does not meet the server communication condition (step S67; No), the browser execution unit 12 a determines if there was a report of a connection change from the tablet 31 (step S68). If a report was not received (step S68; No), the browser execution unit 12 a repeats step S66.

If the communication status of the server communication path N2 meets the server communication condition (step S67; Yes), that is, if the communication status of the server communication path N2 changed (recovered) to a state enabling communication, and if there was a report from the tablet 31 (step S68; Yes), the browser execution unit 12 a changes the connection again. First, the browser execution unit 12 a determines if the browser execution unit 12 a and application execution unit 12 d are processing a transaction (step S69). Both transactions executed by the application execution unit 12 d in response to requests from the tablet 31, and transactions the browser execution unit 12 a executes with the application execution unit 12 d, are evaluated in step S69. If a transaction by either is in progress (step S69; Yes), the browser execution unit 12 a waits until the transaction in progress ends (step S70).

The browser execution unit 12 a then changes the connection to the server 50 (step S71), and reports to the tablet 31 that the connection changed to the server (step S72). If a transaction is not in progress (step S69; No), the browser execution unit 12 a goes to step S71.

After changing the connection to the server 50, the data controller 12 e executes a database synchronization process (step S73). In step S73, the data controller 12 e and the database controller 53 exchange data and synchronize the processor-side sales data 24 and server-side sales data 66. For example, the data controller 12 e acquires the update history, update time, last update time, updated data, data size, and other information about the processor-side sales data 24. The database controller 53 likewise acquires the update history, update time, last update time, updated data, data size, and other information about the server-side sales data 66. By the data controller 12 e and database controller 53 exchanging the acquired information, the differences between the processor-side sales data 24 and server-side sales data 66 can be extracted. By reflecting this difference data in the processor-side sales data 24 and server-side sales data 66, the data can be synchronized.

In step S73, the data controller 12 e may communicate with the database controller 53 and update the data processing device-side master data 25 based on the server-side master data 67, and may update the POS application 21 based on the POS application 62. The HTML file 22 may also be updated based on the HTML file 63. This process can synchronize the software and data stored by the data processing device 11, and the software and data stored by the server 50. For example, when the server 50 updates or modifies the software or data stored by the data storage unit 61 and database 65, the content of the updates or changes can be reflected in the software and data stored by the data processing device 11.

As described above, the data processing device 11 of a data processing system 1 according to this embodiment has a data storage unit 23 that stores data processing device-side master data 25; connects to the server 50 through a server communication path N2 and updates the data processing device-side master data 25 stored in the data storage unit 23 based on the server-side master data 67 stored on the server 50; and connects to the tablet 31 through the process communication path N3, responds based on the data processing device-side master data 25 stored in the data storage unit 23 to a master data transmission request sent by the tablet 31, and receives the process result transmitted by the tablet 31. As a result, when a communication fault occurs, the data processing device 11 can substitute for the server 50 and provide master data in response to requests from the tablet 31, and processing by the tablet 31 can continue without interruption.

When the server communication path N2 satisfies the applied server communication condition, the data processing device 11 sends the process result received from the tablet 31 through the server communication path N2 to the server 50.

When the server communication path N2 does not satisfy the applied server communication condition, the data processing device 11 receives and stores in the data storage unit 23 the process result sent by the tablet 31, and based on the process result stored in the data storage unit 23 updates the data processing device-side master data 25 stored by the data storage unit 23. As a result, when the server communication path N2 that connects the data processing device 11 to the server 50 does not meet the condition, the data processing device 11 can store and process the process result sent by the tablet 31.

When the server communication path N2 does not meet the server communication condition, the data processing device 11 executes processes based on the data processing device-side master data 25 in the data storage unit 23, and accumulates the process results related to the executed processes in the data storage unit 23. As a result, when the communication status of the server communication path N2 does not meet the condition, the data processing device 11 can store the process results sent by the tablet 31.

When the communication status of the server communication path N2 changes (recovers) from not meeting the server communication condition to satisfying the server communication condition, the data processing device 11 sends the process results stored in the data storage unit 23 to the server 50. As a result, when the communication status of the server communication path N2 recovers to a state meeting the condition, the information sent by the tablet 31 can be sent to the server 50.

When the server communication path N2 meets the server communication condition, the data processing device 11 connects to the server 50 through the server communication path N2, executes a process based on the server-side master data 67 stored by the server 50, and sends the process result related to the executed process to the server 50. As a result, the data processing device 11 can execute processes based on data stored by the server 50, and the server 50 can process information related to the executed processes.

Furthermore, when the terminal communication path N1 meets the terminal communication condition, the tablet 31 of the data processing system 1 connects through the terminal communication path N1 to the server 50, executes processes based on the server-side master data 67, and sends the process result of the executed processes to the server 50. As a result, the server 50 can process information related to processes the tablet 31 executed based on data from the server 50.

The data processing device 11 and tablet 31 execute processes by running a POS application 62, 21 through a web browser.

The invention is described above with reference to a preferred embodiment thereof, but the invention is not limited thereto and can be modified and adapted in many ways without departing from the scope of the accompanying claims. For example, the devices that connect to the data processing device 11 and recording device 41 of the embodiment are not limited to the examples shown in FIG. 1, and a card reader for reading magnetic stripe cards or IC cards may be connected. The printing method of the print unit 19, 45 in the foregoing embodiment is a thermal printing method. However, the printing method is not limited to thermal methods. The communication network N, terminal communication path N1, server communication path N2, process communication path N3, and wireless communication link N4 may be desirably configured, and the communication protocols used are not limited. The function blocks shown in FIG. 1 and FIG. 2 can also be desirably embodied by hardware and software, and do not suggest a particular hardware configuration.

As described above, the invention is useful in systems in which a terminal device communicates with a server to process data, and is particularly suited to the terminal device processing data even when a communication fault occurs.

REFERENCE SIGNS LIST

-   1 data processing system -   5 communication device -   10 POS device -   11 data processing device -   12 processing device controller -   12 a browser execution unit -   12 b device controller -   12 c printer controller -   12 d application execution unit -   12 e data controller -   17 processing device communication unit -   18 device connection unit -   20 auxiliary storage unit -   21 POS application -   22 HTML file -   23 data storage unit (process information storage unit) -   24 processor-side sales data -   25 data processing device-side master data -   30 POS device -   31 tablet (terminal device) -   32 tablet controller -   33 browser execution unit -   34 tablet communication unit -   41 recording device -   42 recording device controller -   43 recording device communication unit -   44 device connection unit -   50 server -   51 server controller -   52 application execution unit -   53 database controller -   55 server communication unit -   61 data storage unit -   62 POS application -   63 HTML file -   63 HTML file -   65 database -   66 server-side sales data -   67 server-side master data -   N communication network -   N1 terminal communication path -   N2 server communication path -   N3 process communication path 

The invention claimed is:
 1. A printer, comprising a controller; and a data storage storing printer-side master data, wherein the controller is configured to: connect the data storage through a server communication path to a server that is remote to the printer, the server communication path being an internet path, when a terminal communication path meets a previously set terminal communication condition, execute an update process that updates the printer-side master data stored in the data storage based on server-side master data stored at the server; and when the terminal communication path does not meet a previously set terminal communication condition, connect the data storage to a terminal device through a process communication path, respond based on the printer-side master data stored by the data storage to a master data transmission request sent by the terminal device, and receive process information sent by the terminal device, wherein the terminal device is local to the printer, and the process communication path is a local area network path.
 2. The printer described in claim 1, sending the process information received from the terminal device through the server communication path to the server when the server communication path meets a previously set server communication condition.
 3. The printer described in claim 1 or 2, further comprising: a process information storage; the printer receiving and storing the process information the terminal device sent in the process information storage, and updating the printer-side master data stored in the data storage based on the process information stored in the process information storage, when the server communication path does not meet a previously set server communication condition.
 4. The printer described in claim 3, executing the process based on the printer-side master data of the data storage, and accumulating the process information related to the executed process in the process information storage, when the server communication path does not meet the server communication condition.
 5. The printer described in claim 4, sending the process information accumulated in the process information storage to the server when the server communication path changes from a state not satisfying the server communication condition to a state satisfying the server communication condition.
 6. The printer described in claim 2, when the server communication path meets the server communication condition, sending a master data transmission request to the server through the server communication path, receiving and processing the server-side master data from the server, and sending process information related to the executed process through the server communication path to the server.
 7. A data processing method implemented in an environment including a printer, a server communication path connecting the printer and a server, a terminal communication path connecting the server and a terminal device, and a process communication path connecting the terminal device and the printer, wherein the server is remote to both the printer and the terminal device, the printer and the terminal device are local to each other, the server communication path is an internet path, and the process communication path is a local area network path, comprising: storing printer-side master data at the printer, and executing an update process that updates the printer-side master data based on server-side master data stored at the server through the server communication path; when the terminal communication path does not meet a previously set terminal communication condition, sending a master data transmission request, by the terminal device, to the printer through the process communication path, receiving and processing the printer-side master data from the printer, sending process information related to an executed process to the printer; responding, by the printer, based on the printer-side master data to the master data transmission request received from the terminal device through the process communication path, receiving the process information sent by the terminal device, and updating the printer-side master data based on the received process information; when the terminal communication path meets the previously set terminal communication condition, sending a master data transmission request, by the terminal device, to the server through the terminal communication path, receiving and processing the server-side master data from the server, sending process information related to the executed process to the server; and responding, by the server, based on the server-side master data to the master data transmission request received from the terminal device through the terminal communication path, receiving the process information sent by the terminal device, and updating the server-side master data based on the received process information.
 8. The data processing method described in claim 7, further comprising the printer sending the process information received from the terminal device through the server communication path to the server when the server communication path meets a previously set server communication condition.
 9. The data processing method described in claim 8, further comprising the printer executing the process based on the printer-side master data, and accumulating the process information related to the executed process, when the server communication path does not meet the server communication condition.
 10. The data processing method described in claim 8, further comprising the printer sending the accumulated process information through the server communication path to the server when the server communication path changes from a state not satisfying the server communication condition to a state satisfying the server communication condition.
 11. The data processing method described in claim 8, further comprising the printer sending a master data transmission request to the server through the server communication path, receiving and processing the server-side master data from the server, and sending process information related to the executed process through the server communication path to the server, when the server communication path meets the server communication condition.
 12. The data processing method described in claim 7, further comprising the printer receiving and storing the process information sent by the terminal device, and updating the printer-side master data based on the process information when the server communication path does not meet a previously set server communication condition.
 13. The data processing method described in claim 7, further comprising the terminal device sending a master data transmission request to the server through the terminal communication path, receiving and processing the server-side master data from the server, and sending process information related to the executed process to the server, when the terminal communication path meets the terminal communication condition.
 14. The data processing method described in claim 7, wherein the process is executed by the printer and the terminal device executing software through a web browser. 